// sandbox_construct

local sandbox_construct = Assault.Level:New("sandbox_construct")

// On entity created

function sandbox_construct:OnEntitySpawn()
	Assault.Level.SpawnEntityPlayer(Assault.Vector:New(512, 512), "vgui/white", 0)
	
	// Walls
	
	Assault.Entities.EntitiesQuickCreate("entity_static", Assault.Vector:New(32, 32), 16, ScrH() - 64, Color(100, 100, 100, 255))
	Assault.Entities.EntitiesQuickCreate("entity_static", Assault.Vector:New(48, ScrH() / 2), ScrW() - 48, 16, Color(100, 100, 100, 255))
	
	// Entity quick create
	
	Assault.Entities.EntitiesQuickCreate("entity_explosive", Assault.Vector:New(600, 600), 16, 32, Color(255, 50, 50, 255))
	Assault.Entities.EntitiesQuickCreate("entity_physics", Assault.Vector:New(300, 300), 16, 16)
	Assault.Entities.EntitiesQuickCreate("npc_combine", Assault.Vector:New(700, 700), 16, 16, Color(255, 255, 255, 255))
	Assault.Entities.EntitiesQuickCreate("entity_vehicle", Assault.Vector:New(100, 100), 48, 32, Color(50, 255, 50, 255))
end

// Create

sandbox_construct:Create()